/*reset style*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}


/*page styles*/

section.summary {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: transparent url(images/wallhaven.jpg) no-repeat;
    background-size: cover;
}

section img.avatar {
    width: 128px;
    height: 128px;
    border-radius: 50%;
}

section.summary .text {
    line-height: 1.5;
    text-align: center;
    color: white;
}

section.works {
    background: rgb(244, 244, 244);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media(max-width:420px) {
    section.works {
        height: auto;
        min-height: 100vh;
    }
}

section.works img {
    max-width: 200px;
}

section.works .imgageWrapper {
    padding: 10px;
    background: white;
    text-align: right;
    padding: 10px 10px 3px;
}

section.works>ul {
    display: flex;
    flex-wrap: wrap;
    max-width: 700px;
    justify-content: space-between;
}

@media(max-width:420px) {
    section.works>ul {
        justify-content: center;
    }
}

section.works>ul h3 {
    font-weight: normal;
    font-size: 16px;
    padding-left: 10px;
    margin: 8px 0;
}

section.works>h2 {
    font-size: 36px;
    margin-bottom: 1em;
}

section.contacts {
    height: 100wh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 2em;
}

section.contacts>h2 {
    font-size: 20px;
    margin-top: 1em;
    margin-bottom: 1em;
}

section.contacts>dl {
    display: flex;
    flex-wrap: wrap;
    width: 20em;
}

section.contacts>dl>dt {
    width: 3em;
}

section.contacts>dl>dd {
    flex: 1;
    width: 17em;
}